<template>
  <div class="home">
    <Header></Header>
    <homeContent></homeContent>
    <Top></Top>
    <Footer></Footer>
  </div>
</template>

<script setup>
// 引入公共部分   1引 2注 3使用   记得加后缀.vue
import Header from "@/components/Header.vue";
import Footer from "@/components/Footer.vue";
import Top from "@/components/Top.vue";
// 引入子组件  components文件夹放子组件不要放外面
import homeContent from "./components/home/Content.vue";
import { getCurrentInstance,onMounted } from "vue";
// 引入vuex的辅助函数
// import { mapState } from "vuex";


</script>

<style scoped>
.home {
  background-color: #f4f4f4;
}
</style>